<%@ tag body-content="scriptless" pageEncoding="UTF-8" %>

<%@ attribute name="name" required="true" type="java.lang.String"%>
<%@ attribute name="author" required="true" type="java.lang.String"%>
<%@ attribute name="description" required="true" type="java.lang.String"%>
<%@ attribute name="rating" required="true" type="java.lang.Float"%>
<%@ attribute name="playLink" required="true" type="java.lang.String"%>
<%@ attribute name="iconUrl" required="true" type="java.lang.String"%>

<table class="game-item">
	<tr>
		<td>
			<a href="${playLink}"><img src="${iconUrl}" alt="${name}"/></a>
		</td>
		<td>
			<div>${name}</div>
			<div>by ${author}</div>
			<div>${rating}</div>
			<div>${description}</div>
		</td>
	</tr>
</table>

